It requires modifying the stdlib. If you're doing an integration test, you can probably create a trivial-ish C program which accepts a connection, writes some data, and then does an RST, which (I believe) will be interpreted as connection reset by peer, but that is probably more work than mocking net.Conn :).
Thanks,
Willow