Port RequestHeaderParser tests and make them pass