fix problem with headers getting first 2 bytes dropped on some http client such as MS.net http client