Fixing docs/getstarted.md example code

Code snippets in the guide are fixed to be same as in /examples/chat
Merge pull request #323 from freenerd/master

Fixing docs/getstarted.md example code