http: fix processing server http data separated by \n instead of \r\n