Migration from /bin/dash to /bin/bash

Fixed special characters in config options handling by using
bash arrays for storing curl options.