You can clone with
HTTPS or Subversion.
PiwikTracker should handle cookies from the Piwik response, and sets them back in the next request from the same Tracker object. This will improve accuracy of requests done using the http://piwik.org/docs/tracking-api/
Also, this will allow the Integration tests to increase code coverage by testing the cookie handling mechanisms (and detect bugs such as r3507 )
(In ) Fixes #1912