Fixed reliable packets getting duplicated on receive, added sliding window