Modifications:
 * changed certificate from byte[] to InputStream
 * merged 200 responses
 * Fixed a bug in ToastNotification XML