API hs.connect([options], [connectListener]) Open a connection to HandlerSocket server. Parameters options: (optional) an object with the following properties: host: a host name or address (default is 'localhost'). port: a port number (default is 9998). auth: an authentication key. Note, the port 9998 only allows read operations, and the port 9999 allows write operations also. See HandlerSocket in