socket option for collecting error status