New curl function, without blocking!