socket: Use close from transport plugin.

sched: Replace close call with mk_socket_close.

server: Replace close call with mk_socket_close.

lib: Replace close with mk_socket_close.

Signed-off-by: Sonny Karlsson <ksonny@lotrax.org>
Signed-off-by: Eduardo Silva <edsiper@gmail.com>
iov: Reset total_len in mk_iov_free_marked.

Signed-off-by: Sonny Karlsson <ksonny@lotrax.org>
Signed-off-by: Eduardo Silva <edsiper@gmail.com>
configure: Fix replacement of variables in Makefiles.

Handle CFLAGS/LDFLAGS/DEFS containing '/' characters.

Signed-off-by: Sonny Karlsson <ksonny@lotrax.org>
Signed-off-by: Eduardo Silva <edsiper@gmail.com>