Thermoplastic pipes and fittings