Power cable for connecting an appliance to a wall socket (including both captive and detachable cables)