Socket with residual current device