Fixed some small TCP issues.