Optimize encoding of HTTP method, version and status