Test HTTPS Sync Gateway for issue #9

- Add ServicePointManager.ServerCertificateValidationCallback method to
validate server certificates
- Test HTTPS Sync Gateway with self-signed certificate
Merge pull request #145 from couchbaselabs/issue-9

Supports HTTPS with Sync Gateway for issue #9