code: @SuppressWarnings("PMD.AvoidDuplicateLiterals")
      private static Request addSocketHeaders(final Request req,
          final Socket socket) {
          return new RqWithHeaders(
              req,
              String.format(
                  "%s: %s",
                  BkBasic.LOCALADDR,
                  socket.getLocalAddress().getHostAddress()
              ),
              String.format("%s: %d", BkBasic.LOCALPORT, socket.getLocalPort()),
              String.format(
                  "%s: %s",
                  BkBasic.REMOTEADDR,
                  socket.getInetAddress().getHostAddress()
              ),
              String.format("%s: %d", BkBasic.REMOTEADDR, socket.getPort())
          );
      }
docs: Adds custom headers with information about socket.
  @param req Request
  @param socket Socket
  @return Request with custom headers