upgrade afnetworking lib to 1.3.1
update test case now that afnetworking handles cancel connections correctly