Following the approach used in mosh-server.
Closes #292 github issue.
ST is more correct, but BEL is apparently more widely supported. Closes #304
GCC v4.7.0, as found in Fedora 17 and newer, fails to build mosh on ARM because of a narrowing warning, which is then promoted to an error by -Werror. This error message is new, and did not occur under previous versions of GCC. This patch corrects this error by explicitly casting to the desired datatype the return value of the offending code, the result of a macro from glibc to implement htobe16().
This reverts commit 682bbdf.
AF42 has both the properties of CS42 and the IMM bit. Whether this has the advantages or disadvantages of just one or the other, I don't know. With most mac80211 stacks this will force mosh packets in the VI queue on wireless. As for pfifo_fast, have to look it up...