fixing type-o in jelly templates
adding hostname validations

Check if the entered hostname is properly formed and is reachable