Introduce legacy-clients build profile for applet client

The applet can be considered a legacy client as all major browsers are moving away from Java as a
plugin. The client is therefore only built when the profile is activated explicitly.