formatting, removed exception, minor tweaks
1. In case of a error, corresponding callaback is called.
2. added reservation for internally used stream id (0) to
   avoid (unlikely) situation when there is no ids left for internal calls.