Detect IPPROTO_* via configure

On Android these are not macros, but rather defined in an enum.
Merge branch 'android' of https://github.com/rwbarton/network