Moving the curve initialization before connect/bind for string-only socket definitions.