Bug/handler net errors

- handles connection to unavailable peers (in wallet creation)
- add tests to network handles.