T-pieces for pipes