Designing routing rules

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Docs on new routing

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Docs: direct component addressing

In order to simplify delivery and stop using `origin` and `destination` to route
stanzas to the correct component, a prefix will be added to the component JID.
Envelope forwarding
Smart net component

Net component will bind and unbind from remote components routes whenever those components become available or disappear.
Refactoring routing (#78): register components with component JID

"jid" property in configuration files will have only the first part of
the component JID: before logging to the router, component constructor
will add servername to the JID.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Resolver: drop use of origin and destination (#78)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
<forward/> -> <stanza/>

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Router: do not send to sender stream

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Removed some origin and destination use (#78)

Normal client login now working. IQ vCard set and get correctly working.
C2S presence broadcasts correctly working with resolvers.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
SM: remove any reference to origin and destination (#78)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
New message routing (#78): message exchange working

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Private names: routes bound with <private/> will not be advertisted

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Resolver: register host route as private name

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Correctly handle unbind requests

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Net: bind/register route names when remote components appear (#78)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Router: really unbind routes :)

Router will not close connections on wrong commands or route conflict.

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Typos

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Router: consider private routes too

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>
Resolver: fixing some JID translation wrong behaviours (#78)

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>