SSL detection correction

$protocol always equals 'https' because $_SERVER['HTTPS'] !== 'off' always evaluates to true which causes the shared links to always use https even if the server doesn't use ssl.
(cherry picked from commit ef4d9a2)
Adding options for separate client/server websocket settings
(cherry picked from commit 83467fb)
Fix toolbar position to avoid blinking
Switch default repository to ajxp_home
SoundManager: Fix error on FF startup