Use getprotobyname instead of hardwired number (in tcp_open).