refactored HttpRequest to add and remove header fields