added lsio_packet_parse implementation and created LSIO_DEBUG macro to automatically include function name