solved streaming http session end between client and proxy; separated js functionalities in different files; better sign out process; change in log messages