Modified HTTPClient to fit lwip changes.

Fork of HTTPClient by David Smart