Added handleSockRequest. Added gitignore for DS_Store on mac.