• Removed  create() and instead defined a constructor for the RawSocket-object.
• Removed  disconnect() and destroy() and defined a method close().
• Added support for server with Listen() och Accept().
• In ”Dictionary CreateOptions” I added an attribute “useSecureTransport” for ssl/tls and changed ” addressReuse” to default False.
• Definied error handling with DOMError. Callback-functions has a nullable attribut ”error” of type DOMError. If success then error == null else if error a DOMError-string. In the Chrome Socket API return codes are undefined so I had to find out something here.
Merge pull request #29 from ClaesNilsson/master

New version of Raw Socket API