tcpflags, some other fixes