Headers/Body split of the curl response wasn’t working in case if server would also return “100 Continue” header (or in any other case of two sets of headers in one response)