Merge pull request #384 from mwitkow-io/bugfix/fix_stream_codec_errors_take2

fix difference between unitary and stream codec error handling
diff --git a/rpc_util.go b/rpc_util.go
index 21a4a15..a9bab99 100644
--- a/rpc_util.go
+++ b/rpc_util.go
@@ -187,7 +187,11 @@
 	switch pf {
 	case compressionNone:
 		if err := c.Unmarshal(d, m); err != nil {
-			return Errorf(codes.Internal, "grpc: %v", err)
+			if rErr, ok := err.(rpcError); ok {
+				return rErr
+			} else {
+				return Errorf(codes.Internal, "grpc: %v", err)
+			}
 		}
 	default:
 		return Errorf(codes.Internal, "gprc: compression is not supported yet.")