socklen_t defined on my Unix at least
callbacks.h has bindings, maybe?