Formatted according to Neo standards
Removed System.out printing
Pulled out creation of Resources and Client, so that it works with HTTPS and selecting a Restlet protocol extension explicitly.
Merge conflict fixes