Bandwidth estimation for TCP sources and its application