add plugin->flags() returning array with additional plugin information, currently only CURL requirement (optional)
remove ugly hacks for curl + open_basedir combination breaking support for http redirects