Change WebSocket to use new Java-Websocket factory methods

Not sure how this should be dealt with...

Java-Websocket has recently updated to use java.net instead of java.nio. This came coupled with a change to the ssl factory settings. 

An example of this change can be seen here:

https://github.com/Davidiusdadi/Java-WebSocket/commit/9b0a4b8c182bbe3f384d8ee8ede54eb754900bf5#diff-72ceeab5f5ee7c6111aef0d69e724596L79


Meaning that when used with the most up-to-date Java-WebSocket library, engine.io-client errors out on the linee removed in this pull request. 

Issue 11 is the related issue: https://github.com/nkzawa/engine.io-client.java/issues/11