lib: Only fetch certificates if the server has a newer one than our current
By comparing timestamps / cache with a current certificate and the server's certificate we can avoid more downloads which would be discarded.
This is a new special-case in the library network code, and is mostly necessary for the resource-constrained devices on metered network connections.
This feature would be comparable to the -z
flag of the curl command-line utility.