handle browser locale parsing with locale module
really delay registering routes until server is ready