misc optimisation of http2 field creation