import the socket module
Merge pull request #1 from royvegard/master

import the socket module