ofxNetwork: build and warning fixes

Here's a build and a warning fixes for ofxNetwork