Fix Android Exceptions for URI chars and DNS

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