create connection, listen to packets