Adding copy of parseuri to get around ssl problems.
Using the local copy of parseuri.js