Better pkm error handling in test script
Base error handling on http headers instead on curl -f to be able to display the error strings returned by the server.
Base error handling on http headers instead on curl -f to be able to display the error strings returned by the server.