ExtractMacAddrs and PrepareConnections

For most commands, a list of MAC addresses would appear as the first
field of each line in parameters column.
For all controllers with these MAC addresses, connections should be
obtained before any other communications.
Establish tcp connection

Read 16-byte header