fix invocation of gog.Main
special-case code.google.com/p/... repos and provide an HTTP client