Handle broken X-Forwarded-For case.

When the remote address is invalid in some way, ignore and assume
it's a public address.
Merge pull request #28 from deverton/invalid-remote-address

Handle broken X-Forwarded-For case.