netcap: A framework for secure and scalable network traffic analysis