Fixed HTTP build on OpenBSD
If your system is not POSIX compilant, then you can't expect correct values in errno