The 56b7c87c change left a case where a good sockfd was not copied to *sockp before returning with CURLE_OK