public ByteBuffer getAssembledUnencryptedPacket() {
		//in some cases, ssl engine may spit out 3 packets instead of 1 for the total packet
		ByteBuffer temp = ByteBuffer.allocate(5000);
		for(ByteBuffer b : unencryptedPackets) {
			temp.put(b);
		}
		unencryptedPackets.clear();
		temp.flip();
		return temp;
	}