Require cert validation of server.
Merge pull request #45 from Shrews/ssl_fix

Require cert validation of server.