first try to add server code

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>