Use `urlparse` from six