Fix the bug TSUN-232

In ts_bosh:do_connect(), the code that set session_state to normal is missed so there is no empty request sent in do_receive_httpresponse.