Simple HTTP GET C client code with various socket option