Report IP addresses while logging failed connections

Improve failed connection attempts logging.