Migrate patches to nginx 1.5.x