improved url_regex, combined hostname and ip regex into new host_regex, changed isHost() sub internals and improved isIP() internals