Adds strerrors in socket_read_line.