Http resp encoder perf

This is a related perf improvement for encodeInitialLine . I am not sure if I am doing the pull request properly. Let me know if I should submit it in a different way.