Detect WebSockets and webWorkers support