master: Reject incoming connections if act as Shadow

Change-Id: Iea0503b898ae7bea604eb1b2255f539f0d0fbdc8