Add ability to use a proxy.

Great library, but I need to go through a proxy. Instead of adding another var on the constructor, I decided to put it in as a setter.