Initial commit for server code
Server implemented with threading, client API in place
Merge pull request #1 from ThePletch/server

Good with me.