make registration agent redis host and port configurable