Added proper handling of occupied port handler registration.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop