Use goprotobuf for sending subvolume data via REST.
Working 3d subvolume REST API GET using protobuf