Add delimiter append encoder and remove decoder

CodecBuffer#compact() is also added, which is used at
DelimiterDecoder.
Closes the pipelines after channel is closed

TransportStateEvent is not loaded if the pipelines are closed
before load event happens.