Example now uses tcp socket to make it work under Windows too #22