Correctly use https scheme for download RPC when FS_SSL config is set. Fixes #43.