Fix Worker and WebSocket

Added missing method for Worker and WebSocket