Correcting TypeError: Cannot set property 'rejectUnauthorized' of undefined

Fixing https://github.com/Worlize/WebSocket-Node/issues/146