(gaih_local): Test protocol and socktype.