Add setProxy method

As I said on Issue #32, I need to connect passing through a PROXY, so I created a method.

It can be useful for somebody else.

PS: I also made some improvements to the markdown, just for PHP syntax highlighting.