Server
Slight tweak

- Removed a loop that was causing things to only run once.

- Removed socket closing on this side. Leave it to calling php side

- added server/nbproject/rpoject.properties to .gitignore