Initial work on fix for php5sock not being writable causing 502 erorrs