void replrest(struct hthead *head, char *rest);
int parseheaders(struct hthead *head, FILE *in);
int writeresp(FILE *out, struct hthead *resp);
void replrest(struct hthead *head, char *rest);
int parseheaders(struct hthead *head, FILE *in);
int writeresp(FILE *out, struct hthead *resp);