public void setDoInput(boolean input) {
public void setDoInput(boolean input) { if (connected) throw new IllegalStateException("Already connected");
	public void setDoInput(boolean input) {		doInput = input;	}