Fixed a couple of memory leaks
Release stanza
Free memory in disco response handler
Renamed disco handlers -> caps handlers