Change 'to' to 'peer' in the SPA interface to make it consistent with the rest of the interface and the code.

Making it consistent for improved api and docs.