private InputStream getUrl(String urlString, String username, String password) throws RestException {
URL url;
try {
url = new URL(urlString);
} catch (MalformedURLException e) {
throw new RestUrlException(e, "Unable to make request due to malformed URL. Check the code.");
}
HttpURLConnection httpConnection = null;
try {
if (proxyService == null) {