Trim white space from Transfer-Encoding header

The Transfer-Encoding may include leading white space and needs
to be trimmed before being parsed correctly. Issue seen when the
value was "  chunked" resulting in an Tsung parse error.
Update ts_bosh to 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.
Merge pull request #22 from idxn/master

Fix the bug TSUN-232
Merge pull request #20 from mariosnikolaou/content-encoding-whitespace-fix

Trim white space from Transfer-Encoding header
add test case for get_online (xmpp)
fix jabber chat message with dest=uniq|random (handle user_defined cases)