This removes HTTP related code from wps_upnp_web.c and makes it easier to use HTTP server functionality for new uses (e.g., WPS ER).
Clean up code so that UPnP implementation does not need to include all the HTTP functionality. In addition, make it easier to share HTTP server functionality with other components in the future.