Added Unit tests for process_svr_conn.
Also ported changes from 4.2.4.1 for process_svr_conn.
TRQ-2113