Avoid a possible null pointer error when logging on peer_connection::on_connection_complete.
Avoid a possible null pointer error when logging on peer_connection::on_connection_complete.

jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent