lib: Fix strict-aliasing of sockaddr
lib: Fix strict-aliasing of sockaddr

This fixes a warning about dereferencing type-punned pointers
potentially breaking strict-aliasing rules.

MathieuDuponchelle/uhttpmock,pwithnall/uhttpmock,MathieuDuponchelle/uhttpmock,Distrotech/uhttpmock,pwithnall/uhttpmock,MathieuDuponchelle/uhttpmock,Distrotech/uhttpmock