Fix argument passing for HTTP server