Switch to url-parse module