Make single parameter constructors explicit
Don't use deprecated functions
Use deleted functions if available
Merge pull request #12 from arsenm/master

Don't use the deprecated versions of functions
Merge pull request #10 from ricnewton/explicit-constructors

Make single parameter constructors explicit
add socket_t constructor which accepts context pointer from C API