Embryo code for handling of incoming packets