webserver: fix problem with lw_ws_req_set_header freeing the original header value but not replacing it with the new one

This caused HTTP client_respond to attempt to access a freed pointer when writing the response headers.