add from attribute and remove listener on result
check iq type to avoid loops if server and client share the same xmpp object
also check type attribute in the client
v0.0.12
added removeListener method to mock object