I have a potted olive tree indoors (I know it's not really an indoor plant and I don't expect it to live forever) when we got it -last summer- we ended up with loads of little bugs in the room where the plant is and there was this white foamy stuff on it and load of little bugs (didn't see them when we bought the plant) I thought I'd got rid of the problem by hosing the tree down and spraying it with washing up liquid and water several times
Eventually almost all the leaves fell off but this might have been underwatering but it has rallied in the last few weeks and has new growth buuuuut the frothy white stuff is back 
How do I deal with this?