Add a Referer header from the main page of the $url in curl calls. Fix ssl check with curl for jar files This may be due to BMC/IPMI rev 03.39 which is an older version from 2015. These changes should be non breaking but I can not test.