(minor) Update build.xml, gitignore, add doc/protocol, as per staging
Change paths as per master
Added basic client-side authentication