public MessageBuffer(int payloadSize) {
			messageBuffer = new LinkedList<byte[]>();
			// Subtract 1 for 10 padding
			this.payloadSize = payloadSize;
			this.messageSize = payloadSize - 1;
			currentMessage = new byte[messageSize];
			writePointer = 0;
		}