added optional timeout property to apply to the underlying socket
Merge pull request #2 from tobyattagman/add-timeout-property

Add timeout property