Sockets and plugs for temperature control