inline Address get_remote_address( SocketPtr const &s )
{
    return get_remote_address( s->fd() );
}
inline void set_socket_blocking( SocketPtr const &s )
{
    set_socket_blocking( s->fd() );
}
inline Address get_local_address( SocketPtr const &s )
{
    return get_local_address( s->fd() );
}