Added fast path when connection using IP.