fixed bug where additional headers would not be transmitted