Rewrite REST Client as php stream, add contentFile option.

2 jobs for rest-client-extended-features in 3 minutes and 18 seconds (queued for 3 seconds)