Actions running by protocols

Add ‘action.protocols=['web', 'socket'...]’ in action definition to
declare that this action could only be running in these protocols