Change sequence number generation in genl.c estats_list_conns, minor changes to connection.c