fix multiple-definition bug in write_http.c

@katzj 

Oops, stupid copy/paste error.