Add https functionality for nzbget

Fixes #2622