RequestHandler: more generic exception catching to catch java.lang.AssertionError on executing the http request

AssertionError is thrown on some devices where for example MD5 is not available:
java.security.NoSuchAlgorithmException: MessageDigest MD5 implementation not found