rework of network code with testing for ipversions
updated
updated
updated
Update jnxnetwork.h

removed redundant bit
Merge pull request #26 from AlexsJones/network

Network