Reduce number of uncaught crashes when things go wrong
* Catch all errors on connection steps
* Exit nicely if transport:init() fails
* On parse error send an error message to owner rather than crash
* BOSH Don't crash on timeout reply to request
Allow passing of timeout to bosh and tcp
WS: Fix default resource
WS: Change default port

* Now same default port as bosh
* defaults to same port as mongooseIM
WS: Added on reply/request/connect functions. Fixed default resource arg in init

* Also added some support for functionality recently added to bosh/tcp e.g. not crashing on bad parse
WS: OnReplyFun called on return value of wsecli:send
WS: Catch connection timeouts without crash in escalus_ws
WS: Increased error feedback from updated wsecli
Merge pull request #46 from psytale/esl_ws

Bring internal-ml into line with dcorbacho/escalus