Design of a network stack for directional visible light communication