Return the promise when calling server methods.

SignalR returns a promise when invoking server methods. This can be useful when the client needs to do work on success or failure when calling the server method.