Converting indenting from spaces to tabs

- Renamed some connection structs from c to con as c is usually
  reserved for char variables
- Fixed one memcpy bug

Signed-off-by: Olli Vanhoja <olli.vanhoja@cs.helsinki.fi>