Added packet channel reader and encoder.