Use socket create in place of fsockopen when making HTTP request over the network.