Make all network-related work concurrent

Closes #1