Anproxy class

I'll finish it with @felipeweb today. 
After testing on a real app we'll merge here.