Bugfix for get_link_status port bad data type

When URLs have a port number the port number is wrongfully treated
as a string instead of an integer.