Minor fixes

Fixes #3 by using tls.Config when deciding to verify the certificate's
hostname.
Fixes #4 by setting RequestURI for Handler arguments.
Merge pull request #5 from SlyMarbo/master

Minor fixes