Fixes Issue #2576 NPE when calling ip() on disconnected clients.
Changed ip() to return null when client has disconnected
Merge pull request #2922 from kfeuz/Issue2576

Fixes NPE when calling ip() on disconnected clients.