fixed compile bug
better syntex for required secure connection