Add support for NGClientListeners and win32 support.

Tested on Windows 7 talking to a Nailgun server running on OS X over a flakey wifi network loaded with file transfers, Dropbox uploads and a video conference running simultaneously.