Merge pull request #6 from bjeavons/master

Before and after request handlers

Looks good!