Fixed RCon crash issues

NOTE: Deleted the ``?>`` at the end of the code because can create some issues on different kind of "Operating Systems"