HTTPCLIENT-1673: revert change, which was not necessary and add test that proves that it's not necessary. Mostly provide bones of future OSGi tests.