Update yawsSocketConnect.js
Update yawsSocketConnect.js

reorganizing to reduce the amount of checks done for best case scenarios
adding some jsdoc
Yet-Another-Web-Stack/CrossUserEvents-Javascript-Websocket