Add debug message for client connection events, may help on #1164.