add InvalidURL exception - raised if port is given but empty or non-numeric
add InvalidURL exception - raised if port is given but empty or non-numeric

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator