Add methods to store some connection specific state with the
connections.