Update OAuth.php

Avoid to use @ to hide the error on which "port" and "path" are not located in the array, verifying their existence inside the array