replaced fsockopen with socket_create, fully working in HHVM