Fix condition to accept connections on port 443

Fixes bug #1679