}
private Request getRequest(String remoteAddress, String xForwardedFor) {
Map<String, Header> headers = new HashMap<String, Header>();
Header header = new Header();
header.name = HEADER_XFORWARDED_FOR;
header.values = Arrays.asList(new String[]{xForwardedFor});
headers.put(HEADER_XFORWARDED_FOR, header);