Interactive mode for debugging the protocol

This lets use use a boundary delimiter between messages and makes debugging the protocol easier.