Flask extension implementing HTTP forwarding