fix header compression, same connection share same zlib stream

previous implementation works fine for the first outgoing frame per connection, however, the server will start to reject invalid control frame starting from the second one.