service metadata takes into account request protocol
Merge pull request #38 from kurt-hectic/master

Protocol (such as HTTPS vs HTTP) of the request is used in the metadata