Add a callback handler wrapper which passes the local and peer socket address to the callback