1. A method for setting up a connection to a software layer, comprising: receiving an incoming packet; parsing the received packet; determining a probability that a particular software layer is likely to be a software layer to which the incoming packet is to be connected as a function of information from at least a portion of the parsed packet; and selecting the software layer with the highest determined probability.