Extended manual for setProxy method, including some examples