Bail granted in homeless man murder case