Determine free ports
<p>I was looking at the API, and Ive tried to determine this:</p>

<p>On a given port, check if it's available or already some application listens to it.</p>

<p>Thanks,</p>

<p>ray.</p>
