Currently no support for BOSH over SOCKS5 proxy.
Only BOSH over HTTP proxy or SOCKS5 proxy only works but not in combination.
Coding ftw :)