Adds unit tests for telemetry decoding

To enable this, I've pulled out the decoding functionality into a
separate module, which the receiver now depends on. Updates the receiver
so that it handles GET requests without throwing exceptions.