Fixed issue where calling newSocket could be done before the initialization of the SocketManager
Merge pull request #10 from damienlevin/master

Fixed issue where calling newSocket could be done before the initialization of the SocketManager