Patch go net

Fixes #2938

ping @tianon