docs: public int getTimeout() throws SocketException {
      if (currentProtocol != null) {
        return currentProtocol.getTimeout();
      }
      return ((urlParser.getOptions().socketTimeout == null) ? 0
          : urlParser.getOptions().socketTimeout);
    }