Support unicode HTTP method names in Python 2.x (fixes toastdriven/tastypie#935)