Add support for PDO prepared statements and large objects

Add support for PDO prepared statements and large objects