remove old client code
add version based user agent and make library compatible with requests 1.x and 0.14.2