Hi Craig,
The current Gallery switches over to SSL if the authentication with the server reports back that it requires it. I wouldn't modify the addresses in the code because there are aspects of the address usage that are out of the app's control that simply will not accept the switch, so the http/https is handled in the proxy. This enables the Gallery to support public or private content in a public or private group.
Regards,
Mike