Renamed some connection structs from c to con

Signed-off-by: Olli Vanhoja <olli.vanhoja@cs.helsinki.fi>