Do stream element encoding with Netty encoders (#344 & #355)