Surface mounted type socket outlet and switch