Moved LDP POST code to a dedicated file.