added Last and Muc fields to presence packets
server's capabilities are automatically collected
added proxy support to agsxmpp