Merge pull request #40 from p-push/urljoin

Use urlparse.urljoin instead of os.path.join
Avoid dynamically allocating memory for default pycurl user agent.

This implementation requires LIBCURL_VERSION to be a #define.