Store params in a Mapping instead of a dict
Move tests to test_request_line