do not allow the SAX parser to access the network
ansynchronously listen on incoming data on the socket
record callback to process replies
rewrite response handlers as callbacks
execute matching callback whenever a reply stanza has been parsed
time out replies by removing recorded callbacks