net: add setSocketBlocking() as OS independent wrapper

I'm going to update this.