Add constraint for client connect event.
Satisfy connect constraints.
Merge pull request #1 from plediii/enhance-client-connect

Enhance client connect