2 modes: client (interactive mode), server (parameter -s, listening for
incoming packets)