OCS server disconnect after Prolog

the state is not tested. To send inventory i add new connection (httpObject2)