Added check for server port range from environment variable MOSH_SERVER_PORT