onion_isconnected fix attempt.

Try to make it more stable.
Use same jbuf size for group as for one on one chats.

Use define instead of constant.