Update c2s_http.c

Fix for bug