[connman] return_204 support for online check, JB#18472

[connman] return_204 support for online check, JB#18472

To provide support doing online check by returning HTTP code 204 instead of using HTTP-headers.