OpenBSD fixes for xl2tpd

With these patches, the xl2tpd daemon works on OpenBSD (but not xl2tpd-control; we don't have fmemopen).