Added future imports to hooks/ and http/. This involved a lot of b prefixes to coerce python strings functions into returning a non-unicode output.