Former Leeds United and Liverpool winger Harry Kewell will retire from football at the end of the current A-League season.