Merge pull request #1 from core9/develop

adding global server vars as a feature.
Merge pull request #2 from core9/develop

code needs cleaning up
Merge pull request #4 from core9/develop

Develop
Merge pull request #5 from core9/develop

fix nullpointer if query not exists
Set server idle timeout