Fixing minor bug with getting curve key from socket options
Merge pull request #526 from kedrzu/master

Fixing minor bug with getting curve key from socket options