add server connection class that listen all input and output data
fix logging encode error
Merge pull request #1 from yaroslav-dudar/fix_proxy_server

Fix proxy server