Don't respond if request id is None or absent

Requests without id are valid (notifications, as per http://www.jsonrpc.org/specification#request_object).

Also, 0 is a valid request id. Check for that.