bpf: Add support for reading socket family, type, protocol