SERVER-14853 Port networking library to AAE

Use the alignment, aliasing and endian primitives in the networking
layer