Added support for the rejectUnauthorized tls option for websocket client

Sometimes firewalls make it such that the client will not connect the tls connection. Allowing this option will allow the websocketClient to work around these cases.