Return exceptions caught in PJSIP callbacks from PJSIPUA.poll(), turn then into an "exception" event, handle these in non-MSRP scripts, refactored polling thread in Engine

darcs-hash:20090128143021-58103-3dd8e45c7fffc96e4a6adffd9230f5836c24d738