Added option to use synchronous CURL handles

For some reason I broke my configuration tonight so that CURL
multihandles stopped working. I added workaround for this.