[fix] io layer memory management

Conflicts:
	src/libxively/io/posix/posix_io_layer.c