GitHub: Add support for per-network announcing.

Patch from IRC by @ShadowNinja.