C simple url fetch and parse with proxy connection