Generate SAPI runId only if it is not in header + assign runId to SAPI client

...lient