Use pathname instead of href to see if the current request is for a folder
Add protocol to server address console output (fixes #109)