exceptions: Make ClientException and its subclasses pickleable
Merge pull request #470 from sprymix/working

exceptions: Make ClientException and its subclasses pickleable