Fix PHP error
Add support for transfer-encoding chunked (Stream Client)