[minor] Added server side socket example
[minor] Added kill option to test reconnect
[doc] Add a mention of the example code.