Fix initial handling of HTTP data