Added in missing `require' for library function and HTTPS support

I added in the missing `require' for a library function and fixed downloads over HTTPS. I like your gem btw.