A root cause analysis toolkit for TCP