Fix strrpos

Small bug finding last occurrence of the "." in a domain.  This PR is paired with a config change ['https'] = TRUE