Give a more specific error code when connect() fails synchronously with EHOSTDOWN on posix systems. Before it would give ERR_FAILED, now it fails with ERR_ADDRESS_UNREACHABLE. Moreover, any unmapped error from connect() will map to ERR_CONNECTION_FAILED rather than ERR_FAILED.
Give a more specific error code when connect() fails synchronously with EHOSTDOWN on posix systems.
Before it would give ERR_FAILED, now it fails with ERR_ADDRESS_UNREACHABLE.
Moreover, any unmapped error from connect() will map to ERR_CONNECTION_FAILED rather than ERR_FAILED.

BUG=55009
Review URL: http://codereview.chromium.org/3303022

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@59053 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser