Added options for socket.io-client. Moved socket.io-server to separate module
Added check authorization after logout