Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException Reviewed-by: dfuchs