nlmsg: enable casting at nlmsg_put_header()
socket: change API name

to follow python socket module.
socket: resize returning buffer

same as socket.recv()?
nlmsg: change API param order

set length to optional. length passing to put_extra_header_as seems
to be same as the size of struct in most cases
examples: add nfct-daemon