[fix] Normalize the client-side error to have a proper Error instance
Merge pull request #256 from primus/client-error

Normalize the client-side error to have a proper Error instance