Support both www and non-www requests

Fix for #41