SocketServer: Converted GetMainGridDims to new regime
p4#: 21648