Use all host names in the request for signing.

This is based on #38.