Composites in pressure vessels and piping