Replacing boost::bind and boost::enable_shared_form_this by std counterparts

@deanberris commit fixes issue #229. The other three are just additions to completely get rid of `boost::bind` and `boost::enable_shared_from_this`.