Get 'weight' value from API server message.

Now that the worker supports server weighting, we should,
you know, actually use it if it is given in the request.

Change-Id: I7b0af9b8fc57ff17e5457b81290a474821b0d932