Fix for sending/receiving bytes in big endian byte order
Convert regex using named captures to a regular one.