Set default SSH port and protect against NumberFormatException

Fixes #59