Optimize http server