We want to add new wire formats, but the current code has bincode
hard-codeded.
To this end:
1. Rework the wal_receiver_protocol PS config to include a format
modifier for interpreted protocol type.
2. Abstract wire format encoding and decoding to a separate module
in wal_decoder
3. Glue things back together