Add network connection methods

Resolves #35