Add ability to handle commands via socket.

(Untested)
* TODO: determine how to handle success/failure on client
* Currently returns true or false