Revert "Remove dead http inspection code"

This reverts commit 1b574882f05f7c679f7428af88c8b0e90ff7a5f1.