A British resident freed from Guantanamo Bay says he was shocked to learn his "torturers" were allegedly aided by UK intelligence agents.