add Linux errors.
add guards for includsion.
use $sockettest_includes for socktest_cv_sys_nerr.
refine header inclusion mechanism.
Merge branch 'master' of github.com:akr/socket-test