public InetSocketAddress localAddress() throws IOException {
        return (InetSocketAddress) getSocketChannel().getLocalAddress();
    }
Reads byte from socket input buffer.

@param config non-null configuration
@param sc     socket channel
@param out    output stream
@return true if the read was a success; false otherwise
@throws IOException
clickhouse-client/src/main/java/com/clickhouse/client/AbstractSocketClient.java