[IMP]code improved to support all protocols
[IMP]code improved to support all protocols

akretion/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web,akretion/openerp-web