curl http code testing and better logging
Merge branch 'release/r1p0'