Close http server

The WebSocketServer.close will close the http server only if it was
internally created. So we should call HttpServer.close manually.
keep consistent style