converted header values from host to network shorts