client.connect() why does it send zero packets?

I'm using ethernet and websocket library.

While it establishes the connection to server during client.connect(), it sends zero packets, 6, 2, 6, 2, 6 bytes to server and starts handshaking for websocket.

I do not want to send these packets.

do you have any idea?

Thanks

Stop using the libraries?