Implemented support for SSL.
Added rejectUnauthorized and changed ssl option names.
Merge pull request #209 from bakkerthehacker/master

Implemented support for SSL.