Implemented header struct with sending correct general packet size