private static String removeUserInfo(String authority) {
        final int indexOfDelimiter = authority.lastIndexOf('@');
        if (indexOfDelimiter == -1) {
            return authority;
        }
        return authority.substring(indexOfDelimiter + 1);
    }
Attempts to parse this URI's authority component and return {@link SchemeAndAuthority}.
The authority part may have one of the following formats (The userinfo part will be ignored.):
<ul>
  <li>{@code "unix$3A<socket file>"} for a domain socket authority </li>
  <li>{@code "<host>:<port>"} for a host endpoint </li>
  <li>{@code "<host>"}, {@code "<host>:"} for a host endpoint with no port number specified</li>
</ul>
An IPv4 or IPv6 address can be specified in lieu of a host name, e.g. {@code "127.0.0.1:8080"} and
{@code "[::1]:8080"}.

@throws IllegalArgumentException if {@code scheme} or {@code authority} do not comply with RFC 2396
core/src/main/java/com/linecorp/armeria/internal/common/SchemeAndAuthority.java