Adding support for SSL
Accept additional parameters