Another point of interest, I entered the address (
http://api.bitcoin.cz:8332) into my web browser and got a prompt for the username and password which were accepted. This at least discounts any firewall related issues and suggests perhaps something to do with libcurl maybe?