Properly send authentication packets following TCP standards