Improve SSL certificate loading from StreamFactory (check errors)
Catch AuthenticationException to handle SSL errors and stop making the app crashing