Refactoring: Extract HttpParameters class from Endpoint