import these variables to listen to events, these are the 'accepted events':
import {
READ_DATA_EVENT_NAME, //fired after a successfull read
CLOSE_READ_STREAM_EVENT_NAME, //fired after async socket closes the read stream
DISCONNECT_EVENT_NAME, //fired after a disconnect - event has error as its 'body'
CONNECT_EVENT_NAME, //fired after connect - event has port and ip
ERROR_EVENT_NAME, //fired after error - event the error, a message to say which method broke, and a tag if supplied