Implement site auth dialog
curl: Implement rewind for POST uploads on some sites