make the wget download validate the sever cert

make the wget download validate the sever cert. you do not want to trust content if the cert validation fails. this is a security best practice.

also removed some minor trailing whitespace from the shabang line.