update graddle settings
fix mDNS resolution
make WebSocket constructor public

Made public because sometime getInstance is not appropriate (multiple instance needed for example).
Merge pull request #2 from pecheriere/master

Upgrade for Android Studio 1.0 and mDNS fix