Merge pull request #891 from wpreul/master

Exposing rejectUnauthorized property on proxy
Exposing client on Hapi