Allow usage of SPDY and gzip json

This pull request allows users to enable spdy in Nginx,
Almost all modern distributions ships an nginx version with SPDY enabled.

Also it enables gzip of json requests, useful for json api services.

you can check if nginx has spdy enabled with this command:
```
nginx -V 2>&1 | grep "spdy"
```