Extended status compatibility update for nginx 1.4.2 and 1.5.2

Added patches for two latest nginx version.