Theoretical and numerical study of a free boundary problem by boundary integral methods