Connects to server and returns core information about the task, for example, file size.
Future<StateHead> connect(Uri url);