code: static ResourceAddress getLowestTransportLayer(ResourceAddress transport) {
          if (transport.getTransport() != null) {
              return getLowestTransportLayer(transport.getTransport());
          }
          return transport;
      }
docs: Method returning lowest transport layer
  @param transport
  @return