A Play application using HTTPS and WS with optional client authentication