@Override
    public InetAddress getLocalAddress() {
        return sock.getLocalAddress();
    }
Socket delegate class. Subclasses could extend this class, so that
they only need to override methods they are interested in enhancing.
aws-java-sdk-core/src/main/java/com/amazonaws/internal/DelegateSocket.java