Moved Octave socket reading into riSocketTools