@Test
public void testRemoteAddrWithTrustedProxy() {

  assertEquals(clientAddr, getRemoteAddr(clientAddr, proxyAddr, true));
  assertEquals(clientAddr, getRemoteAddr(chainedClientAddr, proxyAddr, true));
}