Add support for a connection listener