Fix order of URIs in connect message
Ignore e2e device when open endpoints
Add router e2e header
Account for terminating NULL when copying strings