PHP library for managing http(s) request and responses