Clicktail installed from provided .deb package (version 1.0.20180402) generates HTTP requests like:

`POST /?query=INSERT+INTO+clicktail.apache_log+FORMAT+JSONEachRow HTTP/1.1`
`Host: XXX:8123`
`User-Agent: libclick-go/1.4.0 clicktail/dev (regex)`
`Content-Length: 2425`
`Authorization: Basic XXX`
`Content-Encoding: gzip`
`Content-Type: application/json`
`X-Honeycomb-Team: `
`Accept-Encoding: gzip`

Header X-Honeycomb-Team contains only space before terminal characters:
`58 2d 48 6f 6e 65 79 63 6f 6d 62 2d 54 65 61 6d 3a 20 0d 0a`

Clickhouse server 21.4.5.46 doesn't accept those requests and returns: 
`HTTP/1.1 400 Bad Request`

There is no requirement in RFC 7230 https://tools.ietf.org/html/rfc7230#section-3.2 for field-value to contains any data. Shouldn't be those requests accepted?
{
    return a == b || (isAlphaASCII(a) && alternateCaseIfAlphaASCII(a) == b);
}
template <typename F>
std::string trim(const std::string & str, F && predicate)
{
    size_t cut_front = 0;
    size_t cut_back = 0;
    size_t size = str.size();
    for (size_t i = 0; i < size; ++i)
    {
        if (predicate(str[i]))
            ++cut_front;
        else
            break;
    }
    if (cut_front == size)
        return {};
    for (auto it = str.rbegin(); it != str.rend(); ++it)
    {
        if (predicate(*it))
            ++cut_back;
        else
            break;
    }
    return str.substr(cut_front, size - cut_front - cut_back);
}
inline void trimLeft(std::string_view & str, char c = ' ')