Properly proxy returned errors
Relates to gitlab-org/gitlab#296824 (closed).
It's very important to allow agent module to return meaningful errors to the server module, including the optional "details" payload (arbitrary proto messages - see https://cloud.google.com/apis/design/errors).
Edited by Mikhail Mazurskiy