Moved port int validation to optparse's add_option