Pass SYNC for each Server/Client method
Add  type hinting into method params
Complete PHPdoc
Remove end PHP tag closing