Added WebSocket support
Applied fix for BLAT temporary directory generation
merged in web socket code