Fixed #21. If the length of the header value was 0 it was allocating 1 byte anyways for the null terminator which leaked when connections would close prematurely.