Minor fixes

Fixes #3 by using tls.Config when deciding to verify the certificate's
hostname.
Fixes #4 by setting RequestURI for Handler arguments.