Add mosh support.  Closes #24.