Update endpoint.h
Update endpoint.h

Add optional threadsName as option in endpoint.
oktal/rest,oktal/pistache,oktal/rest,oktal/pistache,oktal/rest,oktal/rest,oktal/pistache,oktal/pistache,oktal/pistache