Ubuntu 12.04 build fix/instructions + CLI enhancement

I added the steps I needed to take to build this (not quite yet, as you can see from issue #1 and #2). I also made the cli quit with a better message if the server can't be reached.