Improvements to dev app to handle clients and proxies. Work with scopes and authorization. API and lib updated as well.