adding socket module
adding some basic mac osx facts