Fix httpc crash on invalid http header