rpc: make thread id in capture thread settings optional.
rpc: make thread id in capture thread settings optional.

Signed-off-by:  <e51ad7dcb99c77ecf30f537962c562ac80636eba@gmail.com>

eroullit/dabba,eroullit/dabba,eroullit/dabba,eroullit/dabba