improved the parsing of commands (mutliple commands per data event)
added client test scripts