tcp: improve invalid packet handling in syn-rcvd