Wraps up socket.io-client by providing an interfacing for producing and consuming messages