Merge "pal: add support for dual mode connection"