decouple http/httpp web server in usage