simple http proxy in python