Added the ability to send commands to the server.