closes #40 can now parse protocol-relative urls, closes #42 safari 6 fatal fix