Update to gradle 2.2
Add ip address filtering
Add debug flag
remove unused import