Actually working fairly, apart from php's segmentation fault due to pecl_http