Greece heading for crucial loan as markets rally