Add APIs for intercepting http request in web engine.