implemented our own urljoin that does not break up the base, fixes #986

fixes #986