platinum: improve logging on bad HTTP requests

This is a replacement for #4516 improving the log output of the Platinum SDK in case of a potentially bad HTTP request.