Python3.3 compat

Currently, httprety fails with python3.3 because of basestring and different header sizes in setuptools. These fixes should prevent that.