windows ofxNetwork bug fixes, fixed error codes and added peek() functions to sockets

Not been able to check linux/osx builds, so possibly I've caused some compile errors, but otherwise they're cross-platform bug fixes and new features.