PHP integration of SocksLogger