pass requestCert and rejectUnauthorized tls options and expose socket

I want to perform authorization manualy and need the client certificate.