Added default closing code of 1000 CLOSE_NORMAL, in the case that a code is not passed to the .close() method.
Merge pull request #31 from Jakobud/feature/default-close-code

Default 1000 closing code added