We need a server-side filter fn to restrict access to protocols based on the connecting client's pid.