private void doRehandshake() {
//		/*****************************************************
//		 * REHANDSHAKE BEGINS HERE.............
//		 *****************************************************/
//		
//		client.beginHandshake();
//		assertEquals(HandshakeStatus.NEED_WRAP, client.getHandshakeStatus());		
//		
//		encPacket.clear();
//		SSLEngineResult result = client.wrap(unencrPacket, encPacket); //CLIENT HANDSHAKE MSG
//		assertEquals(HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus());
//		assertEquals(Status.OK, result.getStatus());
//
//		String expected = "abc";
//		ByteBuffer encData = ByteBuffer.allocate(s.getPacketBufferSize());
//		ByteBuffer data = ByteBuffer.allocate(10);
//		putString(data, expected);
//		data.flip();
//		log.fine("data1="+data+" encData="+encData);		
//		result = client.wrap(data, encData);           //CLIENT WRAP DATA
//		log.fine("data2="+data+" encData="+encData);
//		assertEquals(HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus());
//		assertEquals(Status.OK, result.getStatus());
//		
//		unencrPacket.clear();
//		encPacket.flip();
//		result = server.unwrap(encPacket, unencrPacket); //SERVER UNWRAP HANDSHAKE MSG
//		assertEquals(HandshakeStatus.NEED_TASK, result.getHandshakeStatus());
//		assertEquals(Status.OK, result.getStatus());	
//		server.getDelegatedTask(); //get task but don't run it yet...wait until after decrypt of real data
//		
//		/********************************************************
//		 * Found out this is expected behavior....until runnable is run SSLEngine can't be used.
//		 * BIG NOTE: Notice, I did not run the Runnable yet.  If I put 
//		 * r.run() right here, and change the assert statements below from NEED_TASK
//		 * to NEED_WRAP, the test will then pass!!!!!
//		 * 
//		 *******************************************************/
//		
//		ByteBuffer dataOut = ByteBuffer.allocate(server.getSession().getApplicationBufferSize());
//		dataOut.clear();
//		encData.flip();
//		log.fine("datain1="+encData+" out="+dataOut);
//		result = server.unwrap(encData, dataOut);        //SERVER UNWRAP DATA
//		log.fine("datain2="+encData+" out="+dataOut);
//		assertEquals(HandshakeStatus.NEED_TASK, result.getHandshakeStatus());
//		assertEquals(Status.OK, result.getStatus());
//		
//		dataOut.flip();
//		String actual = readString(dataOut, dataOut.remaining());
//		assertEquals(expected, actual);		
	}