Create new AMFPHP connection class.