updated documentation to include some sample code. fixed a nasty network bug. It now seems to work on linux (at least in cygwin).