Cant understand why people are saying that you can tap a cable straight out the back of a socket especially if its a pme installation in the house. I do agree that taking the swa back to the mains rather than joining it is a good idea but one join in an adaptable box Is not the end of the world. Also you have to consider how the cable from the mains to the shed is being installed, if it is surfaced trunked then it doesnt necessarily have to go through an rcd but if it is buried in the wall in twin and earth then it must be covered by a 30ma rcd or rcbo. If the installation is pme I would recommend a minimum of a 4mm 2 core swa to the shed then I would cut the armouring off in the shed and install a earth stake on the shed. If the cable therefore from the house to the shed is covered by and rcd or rcbo then just install a main sw plus mcbs in a small shed consumer unit.