fixed patch cloning and logger terminate
fixed api local connect when logged out bug
updated websocket client library
fixed socketio interface blocking bug