Base sockets for industrial relay modules