Yeah, it looks like the library is doing the right thing, so I'm good with that, but that means the ELB comment above shouldn't be true as it should always work unless you have a misconfigured proxy server, so it would be worth changing the language to say that it requires a reverse proxy that sets any of the well known client IP address headers.