Fixed issue #8: -client option doesn't work