Use node url parser

An update to use the built in node url parser.  I found the REGEX you have does not allow me to use hostnames without domain components e.g.  http://marco:47115/some-path   did not work.