 							
 							serverHandshakeResponse = null;
 							_readyState = WebSocketState.OPEN;
-							parseState = PARSE_NEW_FRAME;
 							
 							if (serverExtensions.indexOf('deflate-stream') !== -1) {
 								initDeflateStream();

		private var socket:Socket;
		private var timeout:uint;
		
		private var parseState:int = 0;
		private var nonce:ByteArray;
		private var base64nonce:String;
		private var serverHandshakeResponse:String;

		private static const MODE_UTF8:int = 0;
		private static const MODE_BINARY:int = 0;
		
		private var _bufferedAmount:int = 0;
		
		private var _readyState:int;
