http: use recv() instead of read()

Because com.c uses recv() not read().