Added pre, post, and complete callbacks to message handlers.
Merge pull request #20 from budjb/callbacks

Added pre, post, and complete callbacks to message handlers.