Fix for URLs that start with http but are not absolute. Closes #574.