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.

Possibly; 
fixes #3248 
fixes #3054
fixes #3126