private void continueHandShake(HandshakeStatus status) {
		
		switch (status) {
		case FINISHED:
			fireConnected();
			break;
		case NEED_TASK:
			createRunnable();
			//break;
		case NEED_UNWRAP:				
			if(log.isLoggable(Level.FINE))
				log.fine(id+"need unwrap so wait");
			break;
		case NEED_WRAP:
			if(log.isLoggable(Level.FINEST))
				log.finest(id+"need wrap");
			//if we go to need wrap, I think we can reset the incoming data buffer
			HELPER.eraseBuffer(engineToSocketData);
			sendHandshakeMessage();
			break;
		case NOT_HANDSHAKING:
			if(log.isLoggable(Level.FINEST))
				log.finest(id+"not handshaking");
			break;
		default:
			log.warning("Bug, should never end up here");
			break;
		}
	}