added proxy support to agsxmpp