Set forward functions on WebP2P class
Set error callbacks on WebP2P class and set common code to send SDPs