Added error message handling in client and server

- Passes error messages from GErrors
- Passes locally generated errors as well
- Added field in protobuf for error messages