Add a form to send an arbitrary JSON message to the client.

It's not pretty, but this PR adds a form to the web page to send a completely arbitrary JSON message - useful for testing new message formats that may not be worth adding a more structure form for.