Custom client connection event handling