TS-2855: add TSHttpIsInternalSession API

Add TSHttpIsInternalSession API to be symmetric with
TSHttpIsInternalRequest.