update MWS client

This PR fixes MWS client initialisation and adds more functions to it.

Now it is possible to create new sockets with access_token.