fix a client bug with blank RWINs, plus a server bug when in debug mode