Constructor
the socket
optional user-specified error handler, called when a connection error occurs
See Implementation
Constructor