PSR for standardized socket usage