Adjust received length to take into account any already-received data