removed unused variable streamId
removed unused variable _connect_callback
added constants to identify protocols
set protocol based on url prefix at connect
extracted BOSH stuff from Connection constructor
added Strophe.Websocket for Websocket functions
split up parts of connect() in bosh and websocket
added function to create start of Websocket stream
rearranged disconnect
split disconnect in BOSH and Websocket
split restart in BOSH and Websocket
split send in BOSH and Websocket
split _dataRecv
reindented stuff (preparation for next commit)
split _connect_cb in BOSH and WebSocket
helper function to wrap WebSocket stanzas
fixed bugs in WebSocket message Handlers
split _onIdle in BOSH and WebSocket
little fix + todos
created classes for WebSocket and Bosh