Removed hostname validity check

Error was being caused by '-' char in ssh hostname in testing, so
removed the error check in the client because it's unlikely that valid
characters will be tested for