code: @Override
      public SocketAddress getLocalSocketAddress() {
          if(session != null && session.isOpen()){
              return session.getLocalAddress();
          }
          return null;
      }
docs: {@inheritDoc}