added sample project again and fixed content length issue

Hi,

I added the sample project for starting with basics from the scratch.

I added also the fix for the content length error.

regards enno