fixed references from websockets to EventSource