The .emit() method for websockets now works even before the socket is connected.
Merge pull request #63 from valeriupalos/master

Make socket.emit() work before socket is connected.