public void send(Message frame) {
		try {
			out.write('*'); // byte 42
			out.write(frame.getFrameType());
			out.writeShort(frame.getPayloadLength());
			out.write(frame.getPayload());

		} catch (IOException e) {
			System.out.println("Error in StrategoOutputStream send method");
			e.printStackTrace();
		}
	}