Fix zmq_socket example in documentation

Issues adressed:
 - The actual data was never read from the socket, causing all even
   numbered loop iterations to fail
 - The socket variable was called server once
Merge pull request #904 from olafmandel/zmq-socket.man

Fix zmq_socket example in documentation
add linking to librt under cmake build - fixes missing symbol

The libzmq library itself uses clock_gettime and should link w/ -lrt on linux.
Caught this issue on on Ubuntu 12.04 LTS.
Merge pull request #905 from guruofquality/missing_librt

add linking to librt under cmake build - fixes missing symbol
Fix MSVC8 build

The extra semicolons were introduced in 48b50ce together with the
defintion of the ZMQ_USE_SELECT macros.
Merge pull request #906 from olafmandel/fix_msvc8_build

Fix MSVC8 build