
When the router requires statement based output, the gathering of complete packets can be skipped as the process of splitting the complete packets into individual packets implies that only complete packets are handled. Also added a quicker check for stored protocol commands than a call to protocol_get_srv_command.