Update Connection.php

Changed mongo client to work with new version of PHP without depracation warning.