add external command hook POND_HOOK_RECEIVE

this is a new version of pull request #63