net: add test for protocol numbers lookup using internal information base

Update issue 5344

R=alex.brainman
CC=golang-dev
https://codereview.appspot.com/12966046