add "unassign" function

when I use eventproxy, I can't find unassign function,so I wrote one.
this is my first time to use git.