Remove unused struct
Check port protocol in legacy handshake detect