bs1387 thread and socked pipe