Removed restriction on adding/removing headers once connection has started

#2142
Added tests to check that headers can be added after connection has started

#2142