Provide 'host' parameter to MockRequest.

This should resolve #1502.