fix(ngSocket): replace depreciated __defineGetter__ with defineProperty

Issue #17