public void write(byte[] bytes, int off, int len) throws IOException {
		if(client != null) {
			if(client.isGreeted())
				client.write(bytes, off, len);
		}
		else
			throw new IOException("Client has disconnected");
	}