Add some port validation to the remote command
Merge pull request #444 from Icenium/KristinaKoeva/PortValidation

Add some port validation to the remote command