Provide 'host' parameter to MockRequest.
Merge pull request #1506 from Lukasa/mockrequest

Provide 'host' parameter to MockRequest.