sipdump: safety check for local socket pointer