Support HTTPS and fix bugs

- Fix for HTTPS URL
- Include `.` to url pattern
- Support `//` scheme