for (Fields.Field header : headers)
{
String name = header.getName();
// Skip special SPDY headers, unless it's the "host" header
HTTPSPDYHeader specialHeader = HTTPSPDYHeader.from(stream.getSession().getVersion(), name);
if (specialHeader != null)
{
if (specialHeader != HTTPSPDYHeader.HOST)
continue;
name = "host";