[sr-dev] git:master:1e67fdd5: tls: cast to usigned for computing available size for read