Add missing validator for the socket_path attribute

refs #7901