Merge "Use references in GATT client/server API (1/3)"