fix protocol checking
set the shared ssl user name in the path if https and sharedSSL is enabled
fix the path make
add checking for shared ssl enabled
add the fix_edit_url function