Filter $_SERVER input

Added filter for the $_SERVER input, to improve security.
Merge pull request #3 from robertboloc/patch-1

Filter $_SERVER input