Part1 almost done

Problem receiving data, fatal error (if we only get the content, it
works fine, not when read HTTP headers)