This PR contains two small trust anchor fetcher fixes:
1) Fix for calculation of HTTP request buffer size in tas_connect() so
it no longer transmits the terminating NULL byte in its HTTP request
(and so the trust anchor server no longer sends an extra "501 Not implemented"
HTTP response),
2) Increase of anchor fetch timeout in tas_doc_read() from a very small 50ms to the
same as the other tas_read_cb() callback setter uses (2s).
This fixes fetching trust anchors on high-latency connections like 3G.
This PR contains two small trust anchor fetcher fixes: 1) Fix for calculation of HTTP request buffer size in tas_connect() so it no longer transmits the terminating NULL byte in its HTTP request (and so the trust anchor server no longer sends an extra "501 Not implemented" HTTP response),
2) Increase of anchor fetch timeout in tas_doc_read() from a very small 50ms to the same as the other tas_read_cb() callback setter uses (2s). This fixes fetching trust anchors on high-latency connections like 3G.