Fix basic lint issues on parse.url
parse.url() omits resource if not defined
Minor lint fixes
Add config.port and update parse.url() to incorporate into URL