socket_test boost::scoped_array -> std::unique_ptr