pjproject: Fixes to resolve DNS SRV crashes.