Simple http transparent proxy written in python