start writing socket shell

Started implementing a basic command line interface to a running moonitor instance.
It is not fully working yet.
demo.c is a small program using sockshell to demonstrate its functionality