Update IPP.php

Addding check for http response code and outputting the error returned in the xml. A little hacky, but better than what was there, which was nothing.