improved link header parsing where commas are in urls
added relative path resolution