Fixed bug in Scalability

Entities should only be sent to remote party when a handshake was received,
otherwise other node may not have yet registered necessary functions or has
even decided to close the connection.