Added validation to check if route port is numeric

@rcrichton OR @BMartinos  please review Added client side validation for the numeric port number.