Embeds extra state in socket to facilitate Phoenix live controllers.
t() :: %ControllerState{mounted?: boolean(), session: map(), url: String.t()}