added listener object, tracking listeners in bxSocket