Enhancement: Log http request when it is sent

We now log the http request when it is sent, not when it is created.
This will enable us to print more headers set by the platform and measure the request time more accurately.

https://github.com/owncloud/client/issues/10313
