Fix compatibility issues cause by libmproxy update from 0.10 to 0.11

This pull request only fixes the update of libmproxy.