use net.IP instead of byte arrays
Merge pull request #6 from PreetamJinka/5-netIP

Use net.IP instead of byte arrays