Added curl and base64 support
Added test