[examples] added error-handling using callbacks and HTTP-to-HTTPS examples
[examples] updated bodyDecoder middleware example