dhcpclient - store xid when encoding request

Fixes the incorrect debug message "Encoding DHCP-Discover of id ffffffff".
And this will allow to correlate xid from response (should be done by the client, but not yet).