PHP http library based on curl extension