send an error to the client when an invalid command/message is sent

something like '{"subsribeFOO": ".*"}

will now report: "Unrecognized message format"