Master rpc server end point doesn't bind to localhost's IP address by default. Instead, it looks up the hostname and binds to the endpoint to which it resolves. MasterRegistry should do the same when building the default server end point to talk to. Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> (cherry picked from commit c34dbc3c29438b18c6b84aac05ccb5adc038342a)