delegate manipulating function to helper
rename data to stanza for muc callbacks
incorrect match between muc and socket