Adding connection listener interface

Signed-off-by: Gehadelrobey <gehadelrobey@gmail.com>