improvements http.c, saved one strcpy, one memstet, etc