Better redirection handling, auto adress discovery