Support use of web proxy on Wordpress server.

Use cURL instead of fsockopen to simplify adding of proxy settings.



Change-Id: I36adaf8d69da4c6f70f2c4250a2c365dd9afa726
Signed-off-by: Mike Kelly <m.f.kelly@arts.ac.uk>