begin reworking HTTP server