Moved http_endpoint to subdir details

Aligned with its namespace
Extracted modded_request and http_response_ptr from webserver.cpp

This improves readability