add settings
modify socket

Signed-off-by: Kargin A S <adamant@khakensb.ru>