Passing the protocol parameter of a socket function to lwip_socket, eg. supporting the ping command requires IP_PROTO_ICMP