Fix unaligned aliasing warning in raw socket