Fix endpoint parser

The endpoint parser now returns an endpoint object like it should...
all the launch tor and wait logic should be placed in the endpoint's
listen method.