fixed behavior on setFlag()
add unit tests for Server::setFlag()
add proper phpunit configuration
Merge pull request #17 from abimus/fix/flags

Fix behavior on Server::setFlag()