Added support for browserchannel2 / websockets