Add capability to hook inside of pyrise like requests does