Add before_process_message hooks
Bump version to 0.5.9