server exchange in both directions

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>