packet.lua: Fix broken clone().
main.exit(): Fixed bug - always used exit status 0.
socket/dev.lua: Updated after packet.lua API change.
ns_responder: Make north->south direction optional.

Use packet.want_modify().
packet.h: buffer data is now 'unsigned char *' (was char *)
Merge pull request #181 from lukego/fixes

Miscellaneous bug fixes