ensure estat is zero if getsockopt is broken
Wibble imports
Show more informative error strings
Depend on pthread always on linux