A request (with id); the answer, or an error with re, arrives in onMessage. Returns the id, null when not sent.
id
error
re