Add an RFC reference and fix deprecated API.

Change-Id: I8dcddc6bcbaf462a6e74b76764ea26b7f5b08920
Reviewed-on: https://code.wireshark.org/review/4996
Reviewed-by: Anders Broman <a.broman58@gmail.com>