HACK: make server::connection work with lambda capture
assert
error check
asio error_code