Protocols as a service