Integrate socket listener with esper