Why do you want to hack the existing http modules?

This is not a rhetorical question. The answer may lead us to redesign the existing http modules to be more flexible so that the higher-level problem you are trying to solve by hacking http import can be solved instead by using an interface provided by the stdlib http module.

--Guido van Rossum (python.org/~guido)