added hostname/port validation
added hostname/port validation

Signed-off-by: njayp <388feadb57831ec3cd884efca3a80afd3835c6f5@gmail.com>

datawire/telepresence,datawire/telepresence,datawire/telepresence