add tracebacks for network exceptions

Change-Id: I29c8c6dbd50fd29f96a67b5dac7165aad86cd3b0