Added tls rewrite condition

When true, rewrite rule will only be applied when client is connected
via SSL. When false, rewrite rule will only be applied when client is
connected via an unsecure connection.