remap unknown host exception to .net web exceptions.  pass an encoded uri to java to avoid invalid character exceptions