make listener binding serializable

Now session serialization works with clara when controllers are serializable.