Fix IBB
- Write/Read files in binary mode
- Fix some Issues with correctly closing the Stream
- Allow IBB to bare JIDs ( Server Components )
- Simplify/Refactor Handlers
TODO: The Jingle Session is not terminated in all cases, its not clear from the XEP who should in which case terminate the Session
Fixes #8582 (closed)