public Client(Socket socket) {
		channels = new ArrayList<Channel>();
		this.socket = socket;
		this.websocket = null;
		
		if (socket == null) {
			return;
		}

		try {
			out = socket.getOutputStream();
		} catch (IOException e) {
		}
	}