misc: use cmake_dependent_option where possible
general: removed unused code and renamed Sys_GetPacket to NET_GetPacket, refs #31