src/netcp.c: fix double-free bug
src/netcp.c: don't use getprotobyname on Android
src/netcp.c: removing redundant zeroing
Merge remote-tracking branch 'upstream/master'