Replace deprecated sendRequest with sendMessage

This resolves the following error message:
Port error: Could not establish connection. Receiving end does not exist

See https://codereview.chromium.org/9965005/