There is no feature inside mock-socket to delay connection of WebSocket. Add this functionality to SocketIO and WebSocket.