Map ConnectEx errors to portable error codes

See https://svn.boost.org/trac/boost/ticket/10744