Adding fixes for more compatibility.

- Adding forwarding for rejectUnauthorized and secureProtocol tls options.