Catch socket errors
Catch render errors.
Need to import the error class first.
Merge pull request #196 from tubedogg/develop

Handle error cases better in aria2 plugin