Corrected network byte swapping