Updated xcl_socket not to swallow xmlstreamend stanzas
Moved start/end stream logic to transport module
Added WebSocket support