introduces six compatibility library, uses it for urlencode