Clean-up datagram socket fds after use; prevents EMFILE; fixes #15

Slightly changes internal interface but this interface probably does not have external users.

Please review in preparation for 0.9.1.