Merge branch 'sp/smart-http-failure'