replace `safe_whereis_name` with `whereis_name`

fixes #58
replace timer:send_after/2 with erlang:send_after/3

fixes #95
add jabber:client namespace to stanzas sent over BOSH

fixes #168
escape xmlcdata before sending to socket

fixes #203
use the newset commit from seestar - #217
Fix typos, resolves #205
fix indentation in mod_bosh_socket.erl
Merge pull request #216 from esl/small_fixes

Various fixes/changes