prepare for notification socket