Modified WebSocket.cs, Ext.cs