added Socket and XMLSocket support
Merge pull request #33 from skylerparr/master

added Socket and XMLSocket support