[NET] ATM: Use htons() where appropriate.