Add close() and send Packets to the Protocol