[services/net/webserver] add more extensibility for web server