void headappheader(struct hthead *head, const char *name, const char *val);
int sendreq(int sock, struct hthead *req);
int recvreq(int sock, struct hthead **reqp);
void headappheader(struct hthead *head, const char *name, const char *val);
int sendreq(int sock, struct hthead *req);
int recvreq(int sock, struct hthead **reqp);