add tcp sockopts and test, for Linux, see #134