use python HTTPServer instead of sockets