creates an http server