Howto reliably ship WAL log files between master and slave
I'd use streaming replica "out of the box".  It will restart itself after a network hiccup just fine.  If you are afraid the WAL will get recycled before it is streamed, use a replication slot to prevent that from happening.