Fixed API Inflexibility; Version attoparsec bug

Created three functions: makeSocket, closeSocket and
makePendingConnection to let users create their own Websocket servers.
attoparsec build-depend was set to 0.12. This is incompitable with
Haskell platform. Causes cabal to update/reinstall packages which then
breakes the packages.
Merge pull request #82 from Fathardie/master

Fixed API Inflexibility; Version attoparsec bug