The mockup VM script returns either error (if random is odd) or success (if random is even). The protocol is the following: C: Action {Start, Stop, Monit} login pass uid S: ( Error[^|]+ | ok ) | ip(:port)? | hostname