Added check for expected JID answering an IQ
adjusted fix to be able to talk to stupid servers
only allow different "from"s if "to" was empty
Correctly disconnect BOSH after connection errors
deleteHandler now deletes Handlers in addHandlers