Connection fixes

Do not override SRV port with 5222
Work with servers that don't handle ping