Null/Loopback decoder

This PR introduces a decoder for the Loopback protocol.
It solves #392.