Improved connection timeout handling.
Added port to scanned url.