How and what is the newproxy() function used for?

how and where can i use this function newproxy()?