added utility methods for closing connection and for quering connection status
added methods for socket connection status
connection class no longer attempts to connect in constructor - added asynchronous methods for connecting and disconnecting - callbacks are invoked
the isConnected method now returns accurate values; also now enabling SO_KEEPALIVE
connection class now checks socket connection status before attempting any actions
now notifying listeners if socket disconnected unexpectedly