[5.0] Use ConnectionInterface In ConnectionResolver

This will allow developers to use custom connection implementation.