Implements a HTTP server