do not assume, that there is always a 1024 sized dh generated. fixes #51

Also add the tests for the new ```ssl_key_size``` parameter.

This is why I should write tests when implementing something new...  :poop:
Merge pull request #52 from luxflux/fix-dh-generation

do not assume, that there is always a 1024 sized dh generated. fixes #51