fixes issue #78 route to secure endpoints
removed debugging message and fixed indents
added mock https server
added unit tests and support for self signed certificates in https endpoints
Merge pull request #151 from jembi/https-routes

closes issue #78 route to secure endpoints