Add error reporting for network registration
Merge pull request #55 from lpotter/errors

Add error reporting for network registration