Mock an SSH server and define all commands it supports (Python, Twisted)