Pin to httpretty 0.6.5, since 0.7 is broken on Python 3.x.
Semi-bogus string cast to avoid Python 2 vs. 3 failures.