Fix type in cURL User-Agent Header definition.
Fix duration calculation and curl measurements payload.