New code from lwip project

lwip repo:
e7f3224 again bug #26069: Documentation of tcp_connect() incorrectly describes handling of errors