Update Server.php

Updated some Method signatures that had been there twice or wrong.
Merge pull request #2 from roennel/patch-1

Update Server.php