Connection callback for stomp connection

Contributed some changes to the stomp client quite awhile ago. Just recently realized I also had these changes as well.