add a proxy hook
Merge pull request #854 from lalebarde/master

add a proxy hook