Added IsMTA function and added basic SAMP support