mosh-server: allow startup with PTY with zero width or height like Emacs shell

The fix defaults to non-PTY case when the terminal size is zero.

Closes #472