The ins and outs of offshore investing