Create next_connection in start_accept.
Use shared_ptr for connection buffer.