SocketConnector should set connection endpoint before registering ReadHa...

...ndler. Otherwise when socket is closed between initial connection and bind, Connection to endpoint remains in progress forever.