WIP implementation of #123 - HAR hooks