Bug: Handle KeyError on missing client IP