fork of gin-gonic/contrib/static for use static files based on host