Connect middleware for restrict old browsers