Moving socket over to my app