[fabbione/kronosnet] bba2a8: Add knet_open and knet_close functions