A simple httplib on PHP