Bug/handler net errors

- handles connection to unavailable peers (in wallet creation)
- add tests to network handles.

fixes https://github.com/bitpay/copay/issues/831