Moved socket max byte count to riSettings

Added header files to cmake
Use socket block read/write for geometry data