fixes #44, add HTTP MITM to support curl -p