If you are using 2.2.3 and the stable release of YouTube it works out the box for me - considering it's a CURL error I suggest it's your WAMP install that is the problem.
If you are using the stable version of YouTube and 2.3 and have made the modification as per above, and you are still getting the same error then again I suggest it's your install of WAMP.