Fixed some SimpleCurl bugs.