Added new :ssl_verify_peer_host option to specify the CN to match

This PR added a ssl_verify_peer_host option that allows explicit common name matching for SSL certificates.

The PR also adds testing for ssl_verify_peer, that didn't seem to exist before.

See #435