Added URL parsing to strategy to make it easier for the user and to address issue #1.