using six to import urljoin for py2/3 compat