Adds hostname to the options.
Adds http options: rejectUnauthorized, requestCert, agent
Added sslProtocol option that changes http for https on the request.