Move parameter encoding from UMKMockHTTPRequest to UMKMockHTTPMessage and unit test it.