replaced std lib urlparse by own url parser