Moving socket input to FrameReader.