make GHSocket class